<!-- 模态框（Modal） -->
<div class="modal fade" id="add" tabindex="-1" role="dialog" 
   aria-labelledby="addModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="modal-header">
            <button type="button" class="close" 
               data-dismiss="modal" aria-hidden="true">
                  &times;
            </button>
            <h4 class="modal-title" id="addModalLabel">
               添加Api信息
            </h4>
         </div>
         <div class="modal-body">
            <form role="form" action="__URL__/insert" method="post" id="apiAddForm">
            	<div class="box-body">
		<!-- 			<div class="form-group">
						<label for="name">编号：</label>
						<input type="text" class="form-control"  name="id" >

					</div> -->
					<div class="form-group">
					  	<label>Api名称：</label>
						<input type="text" class="form-control"  name="name" >
					</div>
					<div class="form-group">
						<label>平台：</label>
						<SELECT name="platform" class="form-control">
							{$Think.config.platform | renderOptions = $_REQUEST['platform']}
						</SELECT>
					</div>
					<div class="form-group">
						<label>Api地址：</label>
						<input   name="api_address" type="text" class="form-control" />
					</div>
					<div class="form-group">
						<label>状态：</label>
						<SELECT name="status">
							<option value="1">启用</option>
							<option value="0">禁用</option>
						</SELECT>
					</div>
					<div class="form-group">
						<label>Api Token：</label>
						<TEXTAREA name="api_token"  rows="3" cols="57"></textarea>
					</div>
				</div><!-- /.box-body -->

				<div class="box-footer">
					<button type="submit" class="btn btn-primary">Submit</button>
				</div>
            </form>
         </div>
      </div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>

